package com.spring.ai.bean;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@Document("chat_messages")
public class ChatMemoryDB {
    /**
     * 用户id
     */
    @Id
    private Object id;

    /**
     * 聊天内容
     */
    private String content;

}
